import {
	request
} from "@/utils/request.js"

export function register(data={}) {
	return request({
		url: "/register",
		data,
		method:'post'
	})
}

export function login(data={}) {
	return request({
		url: "/login",
		data,
		method:'post'
	})
}

export function logout(data={}) {
	return request({
		url: "/logout",
		data,
		method:'post'
	})
}
